﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ViewVote.ascx.cs" Inherits="controls_admin_ViewVote" %>
<!-- table -->
<div class="box">
    <!-- box / title -->
    <div class="title">
        <h5>
            Thăm dò ý kiến</h5>
    </div>
    <div id="divMessage" runat="server">
    </div>
    <!-- end box / title -->
    <div style="width: 400px; margin: 20px">
        Câu hỏi:
        <div id="divQues" runat="server" />
        <div>
            <input type="button" id="edit" title="Chỉnh sửa" class="icon icon-32-edit" onclick="window.location.replace('');" />
            <input type="button" id="new" title="Thêm mới" class="icon icon-32-new" onclick="window.location.replace('');" />
        </div>
    </div>
    <div class="table">
        <table>
            <asp:Repeater ID="rptVote" runat="server">
                <HeaderTemplate>
                    <thead>
                        <tr>
                            <th>
                                STT
                            </th>
                            <th class="left">
                                Phương án trả lời
                            </th>
                            <%--<th class="left">
                                Trả lời tiếng anh
                            </th>--%>
                            <th>
                                Số lần được chọn
                            </th>
                            <th class="last">
                                Phần trăm
                            </th>
                        </tr>
                    </thead>
                    <tbody>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr>
                        <td align="center">
                            <%#Container.ItemIndex +1 %>
                        </td>
                        <td>
                            <%#Eval("ANSWER")%>
                        </td>
                        <%--<td>
                            <%#Eval("ANSWER_ENG")%>
                        </td>--%>
                        <td align="center">
                            <%#Eval("NUMBER")%>
                        </td>
                        <td class="last" align="center">
                            <%#Eval("RATE")%>
                        </td>
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                    </tbody>
                </FooterTemplate>
            </asp:Repeater>
        </table>
    </div>
</div>
<!-- end table -->
